package cn.kgc.boot.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.sql.DataSource;

//@Configuration
public class DateSourceConfig {


//    @Bean
//    @ConfigurationProperties(prefix = "c3p0")
//    public DataSource dataSource(){
//        DataSource dataSource = DataSourceBuilder.create().type(com.mchange.v2.c3p0.ComboPooledDataSource.class).build();
//        return dataSource;
//    }






}
